// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import { Button,Tabs,TabPane,Tag,Select ,Input ,Form,Col,FormItem,Menu,Submenu,MenuItem,Dialog,MenuItemGroup,Message} from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
import echarts from 'echarts'
import axios from 'axios'
import qs from 'qs'
Vue.prototype.$echarts = echarts
Vue.prototype.$qs = qs
Vue.prototype.$help = new Vue()
Vue.config.productionTip = false

Vue.use(Button)
Vue.use(Select)
Vue.use(Input)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Col)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Tag)
Vue.use(Message)
Vue.use(Dialog)


Vue.prototype.$ajax = axios
Vue.prototype.$Message = Message
/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    template: '<App/>',
    components: { App }
})
